package nodes.statements;

import visitors.Visitor;

public final class StatementListNode extends StatementNode
{
    public StatementNode left;
    public StatementListNode right;

    public StatementListNode(StatementNode left, StatementListNode right)
    {
        this.left = left;
        this.right = right;
    }

    @Override
    public Object accept(Visitor v)
    {
        return v.visit(this);
    }
}